import request from "@/utils/request";

const BASEURL = "/admin/core/lend";

export function findAll() {
  return request({
    url: `${BASEURL}/list`,
    method: "get"
  });
}

export function show(id) {
  return request({
    url: `${BASEURL}/show/${id}`,
    method: "get"
  });
}

export function makeLoan(id) {
  return request({
    url: `${BASEURL}/makeLoan/${id}`,
    method: "get"
  });
}
